function FisherYates(arr){
  let res=[],random
  while (arr.length) {
    random = parseInt(Math.random()*arr.length)
    res.push(arr.splice(random,1)[0])
  }

  return res
}